import service from '@/utils/request'

// @Tags MoviesAuditTt
// @Summary 创建moviesAuditTt抖音审核表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.MoviesAuditTt true "创建moviesAuditTt抖音审核表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}"
// @Router /moviesAuditTt/createMoviesAuditTt [post]
export const createMoviesAuditTt = (data) => {
  return service({
    url: '/moviesAuditTt/createMoviesAuditTt',
    method: 'post',
    data
  })
}

// @Tags MoviesAuditTt
// @Summary 删除moviesAuditTt抖音审核表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.MoviesAuditTt true "删除moviesAuditTt抖音审核表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /moviesAuditTt/deleteMoviesAuditTt [delete]
export const deleteMoviesAuditTt = (data) => {
  return service({
    url: '/moviesAuditTt/deleteMoviesAuditTt',
    method: 'delete',
    data
  })
}

// @Tags MoviesAuditTt
// @Summary 批量删除moviesAuditTt抖音审核表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除moviesAuditTt抖音审核表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /moviesAuditTt/deleteMoviesAuditTt [delete]
export const deleteMoviesAuditTtByIds = (data) => {
  return service({
    url: '/moviesAuditTt/deleteMoviesAuditTtByIds',
    method: 'delete',
    data
  })
}

// @Tags MoviesAuditTt
// @Summary 更新moviesAuditTt抖音审核表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.MoviesAuditTt true "更新moviesAuditTt抖音审核表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /moviesAuditTt/updateMoviesAuditTt [put]
export const updateMoviesAuditTt = (data) => {
  return service({
    url: '/moviesAuditTt/updateMoviesAuditTt',
    method: 'put',
    data
  })
}

// @Tags MoviesAuditTt
// @Summary 用id查询moviesAuditTt抖音审核表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query model.MoviesAuditTt true "用id查询moviesAuditTt抖音审核表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /moviesAuditTt/findMoviesAuditTt [get]
export const findMoviesAuditTt = (params) => {
  return service({
    url: '/moviesAuditTt/findMoviesAuditTt',
    method: 'get',
    params
  })
}

// @Tags MoviesAuditTt
// @Summary 分页获取moviesAuditTt抖音审核表列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "分页获取moviesAuditTt抖音审核表列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /moviesAuditTt/getMoviesAuditTtList [get]
export const getMoviesAuditTtList = (params) => {
  return service({
    url: '/moviesAuditTt/getMoviesAuditTtList',
    method: 'get',
    params
  })
}

export const playLetVideoReview= (params) => {
  return service({
    url: '/moviesAuditTt/playLetVideoReview',
    method: 'post',
    params
  })
}
export const playLetAlbumOnline= (data) => {
  return service({
    url: '/moviesAuditTt/playLetAlbumOnline',
    method: 'post',
    data
  })
}
export const playLetAlbumFetchSet= (params) => {
  return service({
    url: '/moviesAuditTt/playLetAlbumFetchSet',
    method: 'post',
    params
  })
}

//同步微信媒资-操作
export const playLetAlbumOnlineSync = (params) => {
  return service({
    url: '/moviesAuditTt/playLetAlbumOnlineSync',
    method: 'get',
    params
  })
}